/* 
    Document   : lecture
    Created on : May 5, 2013, 2:48:32 PM
    Author     : Xzen4eveR
    Description:
        Purpose of the stylesheet follows.
*/

.panel {
    width: 300px;
    height: 185.4101966249684px;
    margin: auto;
    position: relative;
    font-size: .8em;
    -webkit-perspective: 600px;
	background-color: rgba(230, 230, 230, 0.9);
    -moz-perspective: 600px;
}
/* -- make sure to declare a default for every property that you want animated -- */
/* -- general styles, including Y axis rotation -- */

.panel .front {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    width: inherit;
    height: inherit;
    /*border: 1px solid #ccc;*/
    background: #6b7077;
    text-align: center;

    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.9);
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.9);
    box-shadow: 0 1px 5px rgba(0,0,0,0.9);

    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;

    -moz-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform-style: preserve-3d;
    -moz-backface-visibility: hidden;

    /* -- transition is the magic sauce for animation -- */
    -o-transition: all .66s ease-in-out;
    -ms-transition: all .66s ease-in-out;
    -moz-transition: all .66s ease-in-out;
    -webkit-transition: all .66s ease-in-out;
    transition: all .66s ease-in-out;
}
.panel .front img{
	width: 300px;
    height: 185.4101966249684px;
}
.panel.flip .front {
    z-index: 900;
    border-color: #eee;
    background: #333;

    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);

    -moz-box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.panel .back {
    float: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800;
    width: inherit;
    height: inherit;
    border: 1px solid #ccc;
    background: #333;
    text-shadow: 1px  1px 1px rgba(0,0,0,0.6); 

    -webkit-transform: rotateX(-180deg);
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;

    -moz-transform: rotateX(-180deg);
    -moz-transform-style: preserve-3d;
    -moz-backface-visibility: hidden;

    /* -- transition is the magic sauce for animation -- */
    -o-transition: all .66s ease-in-out;
    -ms-transition: all .66s ease-in-out;
    -moz-transition: all .66s ease-in-out;
    -webkit-transition: all .66s ease-in-out;
    transition: all .66s ease-in-out;
}

.panel.flip .back {
    z-index: 1000;
    background: rgb(255,255,255);

    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);

   /*  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.2); */
}
.panel.flip .back a,.panel .back  a {
	font-size:20px;
	color:red;
	padding:10px;
}
.panel.flip .back .more,.panel .back  .more{
	padding:15px;
}
.lecture-item {
    float: left;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 33.3333%;
}